<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">

    <meta name="viewport"
        content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>我的</title>
    <link rel="stylesheet" href="css/font/iconfont.css">
    <link rel="stylesheet" href="css/font2/iconfont.css">
    <link rel="stylesheet" href="../fonts/com/iconfont.css">
    <link rel="stylesheet" href="css/index.css">
    <script src="js/zishiying.js"></script>
</head>

<body>
    <header>
        <div class="top">
            <span class="touXiang"></span>
            <div class="ziLiao">
                <p>FOOL-d9fda3856</p>
                <p>查看个人详情</p>
                <span class="iconfont icon-youjiantou"  onclick="javascript:location.href='../picture0/login.html'"></span>
            </div>
        </div>
    </header>


    <section>
        <article class="jiLu">
            <figure onclick="javascript:location.href='../picture0/login.html'">
                <span class="iconfont icon-tupian" ></span>
                <figcaption>图片</figcaption>
            </figure>
            <figure onclick="javascript:location.href='../picture0/login.html'">
                <span class="iconfont icon-quanwu"></span>
                <figcaption>全屋记</figcaption>
            </figure>
            <figure>
                <span class="iconfont icon-wenzhang-copy"></span>
                <figcaption>文章</figcaption>
            </figure>
            <figure>
                <span class="iconfont icon-huida"></span>
                <figcaption>回答</figcaption>
            </figure>
            <figure>
                <span class="iconfont icon-shoucang"></span>
                <figcaption>收藏</figcaption>
            </figure>
            <figure>
                <span class="iconfont icon-caogaoxiang"></span>
                <figcaption>草稿</figcaption>
            </figure>
            <figure>
                <span class="iconfont icon-huati_line"></span>
                <figcaption>关注的话题</figcaption>
            </figure>
            <figure>
                <span class="iconfont icon-zuijinliulan"></span>
                <figcaption>浏览历史</figcaption>
            </figure>
        </article>

        
        <ul class="list">
                <li onclick="javascript:location.href='../picture0/login.html'">
                    <span class="iconfont icon-dangan" ></span>
                    <p>我的装修档案</p>
                    <span class="iconfont icon-youjiantou"></span>
                </li>
                <li onclick="javascript:location.href='../picture0/login.html'">
                    <span class="iconfont icon-approve"></span>
                    <p>设计师/品牌认证</p>
                    <span class="iconfont icon-youjiantou"></span>
                </li>
                <li onclick="javascript:location.href='../more/develop123.html'">
                    <span class="iconfont icon-gongju"></span>
                    <p>糖厂招人了</p>
                    <span class="iconfont icon-youjiantou"></span>
                </li>
                <li onclick="javascript:location.href='../more/develop123.html'">
                    <span class="iconfont icon-tubiao_shezhi"></span>
                    <p>设置</p>
                    <span class="iconfont icon-youjiantou"></span>
                </li>
                
            </ul>
    </section>

    

    <footer>
        <div  onclick="javascript:location.href='../home/index.html'">
            <span class="iconfont icon-shouye"></span>
            <p>首页</p>
        </div>
        <div   onclick="javascript:location.href='../picture0/index.html'">
            <span class="iconfont icon-kantu"></span>
            <p>看图</p>
        </div>
        <div class="te"  onclick="javascript:location.href='../add/index.html'">
            <span class="iconfont icon-addTodo-nav" ></span>
            
        </div>
        <div  onclick="javascript:location.href='../decoration/index.html'">
            <span class="iconfont icon-zhuangxiu" ></span>
            <p>装修</p>
        </div>
        <div class="wode">
            <span class="iconfont icon-wode" ></span>
            <p>我的</p>
        </div>
    </footer>


    <script src="../lib/jquery-1.11.3.min.js"></script>
    <!-- <script src="js/jquery.mobile-1.4.5.js"></script> -->
    

    <script>
        
        function getParamsFromSearch(key) {
        var search = window.location.search;
        var result = {};
        if (search) {
          var params = search.split('?')[1];
          if (params) {
            var arrParam = params.split('&');
            arrParam.forEach(function(strParam) {
              // decodeURI解码url中的中文字符
              result[strParam.split('=')[0]] = decodeURI(
                strParam.split('=')[1]
              );
            });
          }
        }
        console.log(result);
        return result[key];
      }
      console.log(getParamsFromSearch('phoneNum'))
      $('.ziLiao p').eq(0).html(getParamsFromSearch('phoneNum'))
    </script>
</body>

</html>